/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lczyfy.idcp.modules.crawl.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfy.idcp.common.persistence.Page;
import com.lczyfy.idcp.common.service.CrudService;
import com.lczyfy.idcp.modules.crawl.entity.CrawlRelation;
import com.lczyfy.idcp.modules.crawl.dao.CrawlRelationDao;

/**
 * 爬虫联系Service
 * @author cw
 * @version 2018-07-20
 */
@Service
@Transactional(readOnly = true)
public class CrawlRelationService extends CrudService<CrawlRelationDao, CrawlRelation> {

	public CrawlRelation get(String id) {
		return super.get(id);
	}
	
	public List<CrawlRelation> findList(CrawlRelation crawlRelation) {
		return super.findList(crawlRelation);
	}
	
	public Page<CrawlRelation> findPage(Page<CrawlRelation> page, CrawlRelation crawlRelation) {
		return super.findPage(page, crawlRelation);
	}
	
	@Transactional(readOnly = false)
	public void save(CrawlRelation crawlRelation) {
		super.save(crawlRelation);
	}
	
	@Transactional(readOnly = false)
	public void delete(CrawlRelation crawlRelation) {
		super.delete(crawlRelation);
	}
	
}